Add proper support for confirm-nonexistent-file-or-buffer
authorKim F. Storm <storm@cua.dk>
Sun, 10 May 2009 21:21:33 +0000 (21:21 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 10 May 2009 21:21:33 +0000 (21:21 +0000)
commitf929edfda17986d7af7ef72d20619949ed226938
tree1b796176b91a329155959c21e95cbe5942bf60da
parentdd3a6ce65880c61f7b270962a38baca58e045669
Add proper support for confirm-nonexistent-file-or-buffer
values `confirm' and `confirm-after-completion'.
(ido-read-internal, ido-buffer-internal, ido-file-internal):
Setup and handle require-match arg according to c-n-f-o-b.
(ido-show-confirm-message): New dynamic variable.
(ido-exit-minibuffer): Request confirmation for non-existing file
or buffer according to confirm-nonexistent-file-or-buffer.
(ido-decorations): Add 11th element for "confirm" message.
(ido-completions): Show confirmation message when requested.
lisp/ido.el